package com.hjx.dao;

import com.hjx.model.RoleResource;
import com.hjx.model.RoleResourceCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleResourceMapper {
    int countByExample(RoleResourceCriteria example);

    int deleteByExample(RoleResourceCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoleResource record);

    int insertSelective(RoleResource record);

    List<RoleResource> selectByExample(RoleResourceCriteria example);

    RoleResource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RoleResource record, @Param("example") RoleResourceCriteria example);

    int updateByExample(@Param("record") RoleResource record, @Param("example") RoleResourceCriteria example);

    int updateByPrimaryKeySelective(RoleResource record);

    int updateByPrimaryKey(RoleResource record);
}